Waypoint = {
	index = 0,
	x = 0,
	y = 0
}

function Waypoint:new(o)
	o = o or {}
	setmetatable(o, self)
    self.__index = self    
    return o
end
		
--public:
function Waypoint:get_index()
		return self.index
end
	
function Waypoint:set_index(index)
		self.index = index
end
	
function Waypoint:get_x()
		return self.x
end
	
function Waypoint:set_x(x)
		self.x = x
end

function Waypoint:get_y()
		return self.y
end
	
function Waypoint:set_y(y)
		self.y = y
end